<script type="text/javascript" >
    stFacebookToolbox.load_tooltip();
    stFacebookToolbox.on_submitform('#settingForm');
    jQuery("a[rel^='prettyPhoto']").prettyPhoto();
</script>
<div class="w100p bgl">
    <div class="w100p bgr p5b">
            <a href="#inline_demo" rel='prettyPhoto'><img src="<?php echo $config['imagesUrl']?>info2.png" style="float:right;margin-top:11px;"/></a>
        <form class="stform" id="settingForm" action="<?php echo admin_url('/admin.php?page=' . $config['plugin_name'] . '&action=' . $current_action) ?>" method="post" >
                <ul>
                    
                    <li>
                        <label><?php _e('Post number', $config['plugin_name'])?>:</label>
                        <div>
                            <input title="Post number" value="<?php echo $option['post'] ?>" class="" name="data[post]" id="post" type="text" tabindex="4" />
                        </div>
                        <br clear="both" />
                    </li>
                     <li>
                        <label><?php _e('Post offset', $config['plugin_name'])?>:</label>
                        <div>
                            <input title="Post offset" value="<?php echo $option['offset'] ?>" class="" name="data[offset]" id="offset" type="text" tabindex="4" />
                        </div>
                        <br clear="both" />
                    </li>
                    <li>
                        <label><?php _e('Facebook page ID', $config['plugin_name'])?>:</label>
                        <div>
                            <input title="Facebook page ID" value="<?php echo $option['id'] ?>" class="" name="data[id]" id="id" type="text" tabindex="4" />
                        </div>
                        <br clear="both" />
                    </li>
                    
                     <li>
                        <input type="submit" value="Submit"/>
                    </li>


                </ul>
        </form>
          <div id="inline_demo" style="display:none;">
                        <span style="color: red; font-weight: bold; font-size: 11pt;">Help</span>
						<p></p>
						<table border="0" cellpadding="0" cellspacing="5" align="center" width="100%">
						<?php foreach($config['help']['facebook_wall'] as $row):?>
						<tr>
							<td style="width:230px;" valign="top">
							<?php echo $row['title'];?><span style="float:right;">:</span>
							</td>
							<td valign="top" style="padding-left:5px;">
								<?php echo $row['help'];?>
							</td>
						</tr>
						<?php endforeach;?>
			
	</table>
	</div>      
    </div>
</div>